package com.stu.ai.employee.service.impl;

import com.stu.ai.Employee.dao.BossDao;
import com.stu.ai.Employee.domain.Boss;
import com.stu.ai.employee.service.BossManager;
import com.stu.ai.service.impl.GenericTreeManagerImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service("BossManager")
public class BossManagerImpl extends GenericTreeManagerImpl<Boss, Long> implements BossManager {
    BossDao bossDao;
    @Autowired
    public void setBossDao(BossDao bossDao) {
        this.bossDao=bossDao;
        this.treeDao=this.bossDao;
        this.dao=this.treeDao;
    }

}
